<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Cellinlab Blog</title>
    <meta name="generator" content="VuePress 1.9.7">
    <script src="https://cdn.jsdelivr.net/npm/react/umd/react.production.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/react-dom/umd/react-dom.production.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@babel/standalone/babel.min.js"></script>
    <meta name="description" content="Notes about Web Programming &amp; Development.">
    
    <link rel="preload" href="/cellinlab-web-blog/assets/css/0.styles.0d80b6b1.css" as="style"><link rel="preload" href="/cellinlab-web-blog/assets/js/app.042abc34.js" as="script"><link rel="preload" href="/cellinlab-web-blog/assets/js/3.86f55582.js" as="script"><link rel="preload" href="/cellinlab-web-blog/assets/js/1.3029763b.js" as="script"><link rel="preload" href="/cellinlab-web-blog/assets/js/11.7cec8cf0.js" as="script"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/10.a4352f92.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/12.fd862223.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/13.30d1f0ba.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/14.d7a6ba34.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/15.fc25211b.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/16.93011c16.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/4.d748b0d1.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/5.0bb11173.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/6.e8029cec.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/7.0c2f68d4.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/8.fe38b6cb.js"><link rel="prefetch" href="/cellinlab-web-blog/assets/js/9.960bedae.js">
    <link rel="stylesheet" href="/cellinlab-web-blog/assets/css/0.styles.0d80b6b1.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container no-sidebar" data-v-130b300a><div data-v-130b300a><div class="password-shadow password-wrapper-out" style="display:none;" data-v-25ba6db2 data-v-130b300a data-v-130b300a><h3 class="title" data-v-25ba6db2 data-v-25ba6db2>Cellinlab Blog</h3> <p class="description" data-v-25ba6db2 data-v-25ba6db2>Notes about Web Programming &amp; Development.</p> <label id="box" class="inputBox" data-v-25ba6db2 data-v-25ba6db2><input type="password" value="" data-v-25ba6db2> <span data-v-25ba6db2>Konck! Knock!</span> <button data-v-25ba6db2>OK</button></label> <div class="footer" data-v-25ba6db2 data-v-25ba6db2><span data-v-25ba6db2><i class="iconfont reco-theme" data-v-25ba6db2></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-25ba6db2>vuePress-theme-reco</a></span> <span data-v-25ba6db2><i class="iconfont reco-copyright" data-v-25ba6db2></i> <a data-v-25ba6db2><span data-v-25ba6db2>Cell</span>
            
          <span data-v-25ba6db2>2019 - </span>
          2022
        </a></span></div></div> <div class="hide" data-v-130b300a><header class="navbar" data-v-130b300a><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/cellinlab-web-blog/" aria-current="page" class="home-link router-link-exact-active router-link-active"><!----> <span class="site-name">Cellinlab Blog</span></a> <div class="links"><div class="color-picker"><a class="color-button"><i class="iconfont reco-color"></i></a> <div class="color-picker-menu" style="display:none;"><div class="mode-options"><h4 class="title">Choose mode</h4> <ul class="color-mode-options"><li class="dark">dark</li><li class="auto active">auto</li><li class="light">light</li></ul></div></div></div> <div class="search-box"><i class="iconfont reco-search"></i> <input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/cellinlab-web-blog/timeline/" class="nav-link"><i class="iconfont reco-date"></i>
  TimeLine
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      分类
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/cellinlab-web-blog/categories/前端/" class="nav-link"><i class="undefined"></i>
  前端
</a></li></ul></div></div><div class="nav-item"><a href="/cellinlab-web-blog/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  标签
</a></div> <!----></nav></div></header> <div class="sidebar-mask" data-v-130b300a></div> <aside class="sidebar" data-v-130b300a><div class="personal-info-wrapper" data-v-39576ba9 data-v-130b300a><img src="/cellinlab-web-blog/avatar_h.png" alt="author-avatar" class="personal-img" data-v-39576ba9> <h3 class="name" data-v-39576ba9>
    Cell
  </h3> <div class="num" data-v-39576ba9><div data-v-39576ba9><h3 data-v-39576ba9>4</h3> <h6 data-v-39576ba9>文章</h6></div> <div data-v-39576ba9><h3 data-v-39576ba9>2</h3> <h6 data-v-39576ba9>标签</h6></div></div> <ul class="social-links" data-v-39576ba9><li class="social-item" data-v-39576ba9><i class="iconfont reco-github" style="color:#f47e60;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-mayun" style="color:#3498db;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-npm" style="color:#f47e60;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-twitter" style="color:#67cc86;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-bilibili" style="color:#abbd81;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-juejin" style="color:#fb9b5f;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-zhihu" style="color:#3498db;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-wechat" style="color:#f8b26a;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont icon-gongzhonghao" style="color:#f47e60;" data-v-39576ba9></i></li></ul> <hr data-v-39576ba9></div> <nav class="nav-links"><div class="nav-item"><a href="/cellinlab-web-blog/timeline/" class="nav-link"><i class="iconfont reco-date"></i>
  TimeLine
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      分类
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/cellinlab-web-blog/categories/前端/" class="nav-link"><i class="undefined"></i>
  前端
</a></li></ul></div></div><div class="nav-item"><a href="/cellinlab-web-blog/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  标签
</a></div> <!----></nav> <!----> </aside> <div class="password-shadow password-wrapper-in" style="display:none;" data-v-25ba6db2 data-v-130b300a><h3 class="title" data-v-25ba6db2 data-v-25ba6db2></h3> <!----> <label id="box" class="inputBox" data-v-25ba6db2 data-v-25ba6db2><input type="password" value="" data-v-25ba6db2> <span data-v-25ba6db2>Konck! Knock!</span> <button data-v-25ba6db2>OK</button></label> <div class="footer" data-v-25ba6db2 data-v-25ba6db2><span data-v-25ba6db2><i class="iconfont reco-theme" data-v-25ba6db2></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-25ba6db2>vuePress-theme-reco</a></span> <span data-v-25ba6db2><i class="iconfont reco-copyright" data-v-25ba6db2></i> <a data-v-25ba6db2><span data-v-25ba6db2>Cell</span>
            
          <span data-v-25ba6db2>2019 - </span>
          2022
        </a></span></div></div> <div data-v-130b300a><div class="home-blog"><div class="hero" style="text-align:center;overflow:hidden;background:url(/cellinlab-web-blog/assets/img/bg.2cfdbb33.svg) center/cover no-repeat;height:350px;"><div><!----> <h1>
          Cellinlab Blog
        </h1> <p class="description">
          Notes about Web Programming &amp; Development.
        </p></div></div> <div class="home-blog-wrapper"><div class="blog-list"><div class="abstract-wrapper" data-v-6cc0658a><div class="abstract-item" data-v-ff2c8be0 data-v-6cc0658a><!----> <div class="title" data-v-ff2c8be0><!----> <a href="/cellinlab-web-blog/pages/timeLine/" data-v-ff2c8be0>Time Line</a></div> <div class="abstract" data-v-ff2c8be0></div> <div data-v-f875f3fc data-v-ff2c8be0><i class="iconfont reco-account" data-v-f875f3fc><span data-v-f875f3fc>Cell</span></i> <!----> <!----> <!----></div></div><div class="abstract-item" data-v-ff2c8be0 data-v-6cc0658a><!----> <div class="title" data-v-ff2c8be0><!----> <a href="/cellinlab-web-blog/pages/web/CSS/cascade-specificity-inheritance.html" data-v-ff2c8be0>层叠、优先级和继承</a></div> <div class="abstract" data-v-ff2c8be0></div> <div data-v-f875f3fc data-v-ff2c8be0><i class="iconfont reco-account" data-v-f875f3fc><span data-v-f875f3fc>Cell</span></i> <i class="iconfont reco-date" data-v-f875f3fc><span data-v-f875f3fc>2022-3-24</span></i> <!----> <i class="tags iconfont reco-tag" data-v-f875f3fc><span class="tag-item" data-v-f875f3fc>CSS</span><span class="tag-item" data-v-f875f3fc>样式优先级</span></i></div></div><div class="abstract-item" data-v-ff2c8be0 data-v-6cc0658a><!----> <div class="title" data-v-ff2c8be0><!----> <a href="/cellinlab-web-blog/pages/web/CSS/grid-layout.html" data-v-ff2c8be0>Grid 布局</a></div> <div class="abstract" data-v-ff2c8be0></div> <div data-v-f875f3fc data-v-ff2c8be0><i class="iconfont reco-account" data-v-f875f3fc><span data-v-f875f3fc>Cell</span></i> <!----> <!----> <!----></div></div><div class="abstract-item" data-v-ff2c8be0 data-v-6cc0658a><!----> <div class="title" data-v-ff2c8be0><!----> <a href="/cellinlab-web-blog/pages/web/CSS/flex-layout.html" data-v-ff2c8be0>Flex 布局</a></div> <div class="abstract" data-v-ff2c8be0></div> <div data-v-f875f3fc data-v-ff2c8be0><i class="iconfont reco-account" data-v-f875f3fc><span data-v-f875f3fc>Cell</span></i> <!----> <!----> <!----></div></div> <div class="pagation pagation" style="display:none;" data-v-094d08e4 data-v-6cc0658a><div class="pagation-list" data-v-094d08e4><span unselectable="on" class="jump" style="display:none;" data-v-094d08e4>上一页</span> <span class="jump" style="display:none;" data-v-094d08e4>1</span> <span class="ellipsis" style="display:none;" data-v-094d08e4>...</span> <span class="jump bgprimary" data-v-094d08e4>1</span> <span class="ellipsis" style="display:none;" data-v-094d08e4>...</span> <span class="jump" style="display:none;" data-v-094d08e4>1</span> <span class="jump" style="display:none;" data-v-094d08e4>下一页</span> <span class="jumppoint" data-v-094d08e4>跳转至</span> <span class="jumpinp" data-v-094d08e4><input type="text" value="" data-v-094d08e4></span> <span class="jump gobtn" data-v-094d08e4>前往</span></div></div></div></div> <div class="info-wrapper"><div class="personal-info-wrapper" data-v-39576ba9><img src="/cellinlab-web-blog/avatar_h.png" alt="author-avatar" class="personal-img" data-v-39576ba9> <h3 class="name" data-v-39576ba9>
    Cell
  </h3> <div class="num" data-v-39576ba9><div data-v-39576ba9><h3 data-v-39576ba9>4</h3> <h6 data-v-39576ba9>文章</h6></div> <div data-v-39576ba9><h3 data-v-39576ba9>2</h3> <h6 data-v-39576ba9>标签</h6></div></div> <ul class="social-links" data-v-39576ba9><li class="social-item" data-v-39576ba9><i class="iconfont reco-github" style="color:#f47e60;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-mayun" style="color:#3498db;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-npm" style="color:#f47e60;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-twitter" style="color:#67cc86;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-bilibili" style="color:#abbd81;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-juejin" style="color:#fb9b5f;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-zhihu" style="color:#3498db;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont reco-wechat" style="color:#f8b26a;" data-v-39576ba9></i></li><li class="social-item" data-v-39576ba9><i class="iconfont icon-gongzhonghao" style="color:#f47e60;" data-v-39576ba9></i></li></ul> <hr data-v-39576ba9></div> <h4><i class="iconfont reco-category"></i> 分类</h4> <ul class="category-wrapper"><li class="category-item"><a href="/cellinlab-web-blog/categories/前端/"><span class="category-name">前端</span> <span class="post-num" style="background-color:#f8b26a;">1</span></a></li></ul> <hr> <h4><i class="iconfont reco-tag"></i> 标签</h4> <div class="tags" data-v-285c9a44><span style="background-color:#abbd81;display:;" data-v-285c9a44>全部</span><span style="background-color:#849b87;display:;" data-v-285c9a44>CSS</span><span style="background-color:#e15b64;display:;" data-v-285c9a44>样式优先级</span></div> <!----> <div class="friend-link-wrapper" data-v-165dc218></div></div></div> <div custom="" class="home-center content__default"></div></div> <div class="footer-wrapper footer" data-v-c3cf170c><span data-v-c3cf170c><i class="iconfont reco-theme" data-v-c3cf170c></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-c3cf170c>vuepress-theme-reco@1.6.11</a></span> <span data-v-c3cf170c><i class="iconfont reco-beian" data-v-c3cf170c></i> <a href="http://beian.miit.gov.cn/" data-v-c3cf170c>陇ICP备19000431号-1</a></span> <span data-v-c3cf170c><i class="iconfont reco-copyright" data-v-c3cf170c></i> <a data-v-c3cf170c><span data-v-c3cf170c>Cell</span>
        
      <span data-v-c3cf170c>2019 - </span>
      2022
    </a></span> <span style="display:none;" data-v-c3cf170c><i class="iconfont reco-eye" data-v-c3cf170c></i> <span id="/cellinlab-web-blog/" data-flag-title="Your Article Title" class="leancloud-visitors" data-v-c3cf170c><a class="leancloud-visitors-count"></a></span></span> <!----> <div class="comments-wrapper" style="display:none;" data-v-c3cf170c><!----></div></div></div></div></div></div><div class="global-ui"><div class="back-to-ceiling" style="right:1rem;bottom:6rem;width:2.5rem;height:2.5rem;border-radius:.25rem;line-height:2.5rem;display:none;" data-v-c6073ba8 data-v-c6073ba8><svg t="1574745035067" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5404" class="icon" data-v-c6073ba8><path d="M526.60727968 10.90185116a27.675 27.675 0 0 0-29.21455937 0c-131.36607665 82.28402758-218.69155461 228.01873535-218.69155402 394.07834331a462.20625001 462.20625001 0 0 0 5.36959153 69.94390903c1.00431239 6.55289093-0.34802892 13.13561351-3.76865779 18.80351572-32.63518765 54.11355614-51.75690182 118.55860487-51.7569018 187.94566865a371.06718723 371.06718723 0 0 0 11.50484808 91.98906777c6.53300375 25.50556257 41.68394495 28.14064038 52.69160883 4.22606766 17.37162448-37.73630017 42.14135425-72.50938081 72.80769204-103.21549295 2.18761121 3.04276886 4.15646224 6.24463696 6.40373557 9.22774369a1871.4375 1871.4375 0 0 0 140.04691725 5.34970492 1866.36093723 1866.36093723 0 0 0 140.04691723-5.34970492c2.24727335-2.98310674 4.21612437-6.18497483 6.3937923-9.2178004 30.66633723 30.70611158 55.4360664 65.4791928 72.80769147 103.21549355 11.00766384 23.91457269 46.15860503 21.27949489 52.69160879-4.22606768a371.15156223 371.15156223 0 0 0 11.514792-91.99901164c0-69.36717486-19.13165746-133.82216804-51.75690182-187.92578088-3.42062944-5.66790279-4.76302748-12.26056868-3.76865837-18.80351632a462.20625001 462.20625001 0 0 0 5.36959269-69.943909c-0.00994388-166.08943902-87.32547796-311.81420293-218.6915546-394.09823051zM605.93803103 357.87693858a93.93749974 93.93749974 0 1 1-187.89594924 6.1e-7 93.93749974 93.93749974 0 0 1 187.89594924-6.1e-7z" p-id="5405" data-v-c6073ba8></path><path d="M429.50777625 765.63860547C429.50777625 803.39355007 466.44236686 1000.39046097 512.00932183 1000.39046097c45.56695499 0 82.4922232-197.00623328 82.5015456-234.7518555 0-37.75494459-36.9345906-68.35043303-82.4922232-68.34111062-45.57627738-0.00932239-82.52019037 30.59548842-82.51086798 68.34111062z" p-id="5406" data-v-c6073ba8></path></svg></div></div></div>
    <script src="/cellinlab-web-blog/assets/js/app.042abc34.js" defer></script><script src="/cellinlab-web-blog/assets/js/3.86f55582.js" defer></script><script src="/cellinlab-web-blog/assets/js/1.3029763b.js" defer></script><script src="/cellinlab-web-blog/assets/js/11.7cec8cf0.js" defer></script>
  </body>
</html>
